﻿using System;
using System.Text;
using System.Xml.Serialization;


namespace Modelo
{
    [XmlRootAttribute("Snippet", IsNullable = false)]
    public class Snippet
    {
        public Snippet()
        {
            this.Declarations = new Declarations();
            this.Code = new Code();
            this.CodigoGerado = new StringBuilder();
        }

        [XmlElementAttribute(ElementName = "Declarations", IsNullable = false)]
        public Declarations Declarations { get; set; }

        [XmlElementAttribute(ElementName = "Code", IsNullable = true)]
        public Code Code { get; set; }

        [XmlElementAttribute(ElementName = "", IsNullable = false)]
        public StringBuilder CodigoGerado { get; set; }
    }
}
